package com.stan.core.contants;

public interface Constants {
    // 读取核心配置文件的路径
    String CORE_PROPERTIES_FILE_PATH = "core/core.properties";
    // 测试Key
    String TEST_KEY = "test.key";


    /**
     * MyBatis 的配置文件位置
     */
    String MYBATIS_CONF_LOC = "mybatis.conf.location";


    /**
     * Table Name
     */
    String TABLE_NAME_USER_ACTION = "table.name.user.action";


    /**
     * Spark项目Conf相关配置
    */

    String CONF_SPARK_MASTER = "spark.master";
    String CONF_SPARK_LOCAL = "spark.local";
    String CONF_USER_VISIT_ACTION_APP_NAME = "userActionAnalysisApp";
    String CONF_ADV_CLICK_STREAM_APP_NAME = "advClickStreamApp";


    /**
     * task 参数名称
     */
    String PARAM_TASK_ID = "taskId"; // TODO：存在疑问
    String PARAM_FIELD_START_DATE = "paramStartDate";
    String PARAM_FIELD_END_DATE = "paramEndDate";
    String PARAM_FIELD_START_AGE = "paramStartAge";
    String PARAM_FIELD_END_AGE = "paramEndAge";
    String PARAM_PROFESSIONALS = "paramProfessionals";
    String PARAM_SEX = "paramSex";
    String PARAM_KEYWORDS = "paramKeywords";
    String PARAM_CATEGORY_IDS = "paramCategoryIds";
    String PARAM_TARGET_PAGE_FLOW = "paramTargetPageFlow";

    /**
     * 项目字段
     */
    String FIELD_SESSION_ID = "sessionId";
    String FIELD_SEARCH_KEYWORDS = "searchKeywords";
    String FIELD_CLICK_CATEGORY_IDS = "clickCategoryIds";
    String FIELD_CLICK_PRODUCT_IDS = "clickProductIds";
    String FIELD_STEP_LENGTH = "stepLength";
    String FIELD_VISIT_LENGTH = "visitLength";
    String FIELD_START_TIME = "startTime";
    String FIELD_END_TIME = "endTime";
    String FIELD_USERNAME = "username";
    String FIELD_NAME = "name";
    String FIELD_AGE = "age";
    String FIELD_PROFESSIONAL = "professional";
    String FIELD_CITY = "city";
    String FIELD_SEX = "sex";
    String FIELD_USER_ID = "userId";

    /**
     * 广告点击流Kafka的订阅主题
     */
    String ADV_CLICK_STREAM_TOPICS = "advan.click.stream.topics";
    String KAFKA_BORKER_LIST = "kafka.metadata.broker.list";

}
